package com.ruoyi.detail.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.detail.domain.SessionDetail;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xgw
 */
public interface ISessionDetailService {

    //查询出全部
    public AjaxResult selectAllSessionDetail();

    //插入SessionDetail
    public AjaxResult insertSessionDetail(SessionDetail sessionDetail);

    //更新SessionDetail label = -1 机器人 ， label = -2 删除 ，label = userId
    public AjaxResult updateSessionDetailById( SessionDetail sessionDetail);

    //删除SessionDetail
    public AjaxResult deleteSessionDetailById(Integer sessionDetailId);

    //动态查询session_detail
    //动态查询
    public AjaxResult dynamicSelectSessionDetail(String username, Integer sessionId, LocalDateTime startTime, LocalDateTime endTime);

    public AjaxResult selectSessionDetailById(Integer id);

    public AjaxResult selectSessionDetailByTimestamp(Integer sessionId);

}
